package com.shangyueshang.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shangyueshang.handlers.StringTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

/**
 * @author: JokeyZheng
 * @email: zhengjingfeng@ruqimobility.com
 * @created: 2022/2/18 17:15
 * @version: v1.0.0
 * <p>货运代理信息表</p>
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(autoResultMap = true)
public class FreightForwarder extends BaseModel {

    /**
     * 货代公司名称
     */
    private String name;

    /**
     * 货代公司简称
     */
    private String shortName;

    /**
     * 渠道优势
     */
    @TableField(typeHandler = StringTypeHandler.class)
    private List<String> advantages;

    /**
     * 联系人
     */
    private String contact;

    /**
     * 联系电话
     */
    private String mobile;

    /**
     * 备注
     */
    private String remark;
}
